package com.easylinkin.linkappapi.childinspection.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.childinspection.entity.InspectionPointEntity;
import com.easylinkin.linkappapi.childinspection.entity.InspectionRecordEntity;
import com.easylinkin.linkappapi.childinspection.entity.InspectionTaskEntity;
import com.easylinkin.linkappapi.childinspection.vo.BaseVo;
import com.easylinkin.linkappapi.childinspection.vo.InspectionPointVo;
import com.easylinkin.linkappapi.common.model.RequestModel;

/**
 * @author linWenLe
 * @Date: 2024/3/27
 * @Description:
 */
public interface InspectionPointService extends IService<InspectionPointEntity> {

    IPage<InspectionPointEntity> getInspectionPointList(RequestModel<InspectionPointVo> restPage);

    void insertPoint(InspectionPointVo entity);

    String createPointCode();

    void updatePoint(InspectionPointEntity entity);

    void deletePoint(String id);

    InspectionPointEntity pointInfo(String id);

    IPage<InspectionRecordEntity> pointRecordInfo(RequestModel<BaseVo> restPage);

    InspectionRecordEntity rectificationInfo(String recordId);

    IPage<InspectionRecordEntity> todayRecordInfo(RequestModel<BaseVo> restPage);
}
